X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=blobdiff_plain;f=includes%2Finstaller%2FMysqlUpdater.php;h=408f2fbb36339983f14a88ae07c7a9a93cc7c989;hb=4444f35d1d9f23bcb777fd4c19f8ea42888ae4a9;hp=3e1d19626e67d8efd3753e2861958ecede11ecee;hpb=267d99fa85434c3f26b7c5223cd46c29dedff4e5;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/installer/MysqlUpdater.php b/includes/installer/MysqlUpdater.php index 3e1d19626e..408f2fbb36 100644 --- a/includes/installer/MysqlUpdater.php +++ b/includes/installer/MysqlUpdater.php @@ -367,6 +367,7 @@ class MysqlUpdater extends DatabaseUpdater { 'patch-protected_titles-fix-pk.sql' ], [ 'renameIndex', 'site_identifiers', 'site_ids_type', 'PRIMARY', false, 'patch-site_identifiers-fix-pk.sql' ], + [ 'addIndex', 'recentchanges', 'rc_this_oldid', 'patch-recentchanges-rc_this_oldid-index.sql' ], ]; } @@ -756,8 +757,9 @@ class MysqlUpdater extends DatabaseUpdater { 'Converting links and brokenlinks tables to pagelinks' ); - global $wgContLang; - foreach ( $wgContLang->getNamespaces() as $ns => $name ) { + foreach ( + MediaWikiServices::getInstance()->getContentLanguage()->getNamespaces() as $ns => $name + ) { if ( $ns == 0 ) { continue; } @@ -1231,7 +1233,7 @@ class MysqlUpdater extends DatabaseUpdater { 'Extending edit summary lengths (and setting defaults)' ); } else { - $this->output( '...comment fields are up to date' ); + $this->output( "...comment fields are up to date.\n" ); } }